package edu.spbsu.nonsm00th.qdiff.parser.exception;

import java.text.MessageFormat;

/**
 * Throws if missed open bracket in expression.
 * 
 * @author mbuzdov
 */
public class OpenBracketMissedException extends ParserException {

    public OpenBracketMissedException(int position) {
        super(MessageFormat.format("Open bracket needed, position: {0}.", position));
        this.position = position;
    }

}
